package com.chinawlx.wlxteacher.network.bean;

/**
 * Created by wlx on 16/10/19.
 */

public class WLXScheduleChangeBean {

    /**
     * Code : 0
     * Msg :
     * Data : {"id":43,"user_id":1032,"grade_id":17,"schedule_ids":"341","is_teacher":true,
     * "reason":{"key":"study","value":"学习"},"type":{"key":"leave","value":"请假"},"remark":"",
     * "extend":null,"ip":"111.172.35.207","start_date":"2016-10-02T16:30:00+08:00",
     * "end_date":"2016-10-02T17:30:00+08:00","new_start_date":"2016-09-20T19:11:26+08:00",
     * "new_end_date":"2016-09-20T19:11:26+08:00",
     * "last_modified_date":"2016-09-20T19:11:26+08:00",
     * "creation_date":"2016-09-20T19:11:26+08:00","version":0}
     */

    private int Code;
    private String Msg;
    /**
     * id : 43
     * user_id : 1032
     * grade_id : 17
     * schedule_ids : 341
     * is_teacher : true
     * reason : {"key":"study","value":"学习"}
     * type : {"key":"leave","value":"请假"}
     * remark :
     * extend : null
     * ip : 111.172.35.207
     * start_date : 2016-10-02T16:30:00+08:00
     * end_date : 2016-10-02T17:30:00+08:00
     * new_start_date : 2016-09-20T19:11:26+08:00
     * new_end_date : 2016-09-20T19:11:26+08:00
     * last_modified_date : 2016-09-20T19:11:26+08:00
     * creation_date : 2016-09-20T19:11:26+08:00
     * version : 0
     */

    private DataBean Data;

    public int getCode() {
        return Code;
    }

    public void setCode(int Code) {
        this.Code = Code;
    }

    public String getMsg() {
        return Msg;
    }

    public void setMsg(String Msg) {
        this.Msg = Msg;
    }

    public DataBean getData() {
        return Data;
    }

    public void setData(DataBean Data) {
        this.Data = Data;
    }

    public static class DataBean {
        private int id;
        private int user_id;
        private int grade_id;
        private String schedule_ids;
        private boolean is_teacher;
        /**
         * key : study
         * value : 学习
         */

        private ReasonBean reason;
        /**
         * key : leave
         * value : 请假
         */

        private TypeBean type;
        private String remark;
        private Object extend;
        private String ip;
        private String start_date;
        private String end_date;
        private String new_start_date;
        private String new_end_date;
        private String last_modified_date;
        private String creation_date;
        private int version;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getUser_id() {
            return user_id;
        }

        public void setUser_id(int user_id) {
            this.user_id = user_id;
        }

        public int getGrade_id() {
            return grade_id;
        }

        public void setGrade_id(int grade_id) {
            this.grade_id = grade_id;
        }

        public String getSchedule_ids() {
            return schedule_ids;
        }

        public void setSchedule_ids(String schedule_ids) {
            this.schedule_ids = schedule_ids;
        }

        public boolean isIs_teacher() {
            return is_teacher;
        }

        public void setIs_teacher(boolean is_teacher) {
            this.is_teacher = is_teacher;
        }

        public ReasonBean getReason() {
            return reason;
        }

        public void setReason(ReasonBean reason) {
            this.reason = reason;
        }

        public TypeBean getType() {
            return type;
        }

        public void setType(TypeBean type) {
            this.type = type;
        }

        public String getRemark() {
            return remark;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }

        public Object getExtend() {
            return extend;
        }

        public void setExtend(Object extend) {
            this.extend = extend;
        }

        public String getIp() {
            return ip;
        }

        public void setIp(String ip) {
            this.ip = ip;
        }

        public String getStart_date() {
            return start_date;
        }

        public void setStart_date(String start_date) {
            this.start_date = start_date;
        }

        public String getEnd_date() {
            return end_date;
        }

        public void setEnd_date(String end_date) {
            this.end_date = end_date;
        }

        public String getNew_start_date() {
            return new_start_date;
        }

        public void setNew_start_date(String new_start_date) {
            this.new_start_date = new_start_date;
        }

        public String getNew_end_date() {
            return new_end_date;
        }

        public void setNew_end_date(String new_end_date) {
            this.new_end_date = new_end_date;
        }

        public String getLast_modified_date() {
            return last_modified_date;
        }

        public void setLast_modified_date(String last_modified_date) {
            this.last_modified_date = last_modified_date;
        }

        public String getCreation_date() {
            return creation_date;
        }

        public void setCreation_date(String creation_date) {
            this.creation_date = creation_date;
        }

        public int getVersion() {
            return version;
        }

        public void setVersion(int version) {
            this.version = version;
        }

        public static class ReasonBean {
            private String key;
            private String value;

            public String getKey() {
                return key;
            }

            public void setKey(String key) {
                this.key = key;
            }

            public String getValue() {
                return value;
            }

            public void setValue(String value) {
                this.value = value;
            }
        }

        public static class TypeBean {
            private String key;
            private String value;

            public String getKey() {
                return key;
            }

            public void setKey(String key) {
                this.key = key;
            }

            public String getValue() {
                return value;
            }

            public void setValue(String value) {
                this.value = value;
            }
        }
    }
}
